#!/bin/sh
###################################################################################
#
# (c) Copyright 2014 Hewlett-Packard Development Company, L.P. All rights reserved.
#
# @since 3.2
# @author Yang, Lin
#
# input in form of snap-mgmt.properties
#
# output as JSON:
# {
#   results              (array)
#   [
#       session_server   (string)
#       state            (string, enumerated: Stopped, Running) state before starting
#       server_status    (string, enumerated: IDLE, STARTING, ACTIVE, STOPPING) status after starting
#   ]
# }
###################################################################################

SNAP_MGMT_PROPS="$(cat snap-mgmt.properties)"

./snap-mgmt.sh startAll "$SNAP_MGMT_PROPS"
